package day10.tarena.com;

public class StringPoolTest {

	public static void main(String args[]) {
		String ss1 = "abc";
		String ss2 = "abc";
		String s1 = new String("abc");
		String s2 = new String("abc");
		System.out.println(s1 == s2);
		System.out.println(ss1 == ss2);
		System.out.println(s1 == ss1);
		System.out.println(ss1 == s2);
	}
}
